import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import * as ElIcons from '@element-plus/icons'
import 'element-plus/dist/index.css'
import './utils'
import App from './App.vue'
import router from './router'


const app = createApp(App)
    .use(ElementPlus)
    .use(router);
    
for (const key in ElIcons) {
    if (Object.hasOwnProperty.call(ElIcons, key)) {
        app.component(key, ElIcons[key])
    }
}

app.mount('#app');


